Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add admin toolbox section to public body list #7867

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

garethrees
Copy link
Member

It's still too easy to use the mass tag manipulation form as a search box. We do now have a confirmation alert, but it's still annoying.

This commit adds a "toolbox" section so that infrequently used tools can be hidden away until needed.

I did look at using the Bootstrap collapse [1] element, but it wasn't quite right as I only wanted one heading that collapses the whole section. The Bootstrap component added lots of extra markup, so went with a simple <summary> tag for an initial implementation. We can tweak it further if other tools get added.

[1] https://getbootstrap.com/2.2.0/javascript.html#collapse

Closed by default:

Screenshot 2023-08-21 at 15 14 28

Open to use:

Screenshot 2023-08-21 at 15 14 33

It's still too easy to use the mass tag manipulation form as a search
box. We do now have a confirmation alert, but it's still annoying.

This commit adds a "toolbox" section so that infrequently used tools can
be hidden away until needed.

I did look at using the Bootstrap collapse [1] element, but it wasn't
quite right as I only wanted one heading that collapses the whole
section. The Bootstrap component added lots of extra markup, so went
with a simple `<summary>` tag for an initial implementation. We can
tweak it further if other tools get added.

[1] https://getbootstrap.com/2.2.0/javascript.html#collapse
@mysociety-pusher mysociety-pusher merged commit 213695e into develop Sep 6, 2023
5 checks passed
@mysociety-pusher mysociety-pusher deleted the add-admin-toolbox-section branch September 6, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants